home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tools / vim / src / makefile.archie < prev    next >
Makefile  |  1995-03-09  |  3KB  |  139 lines

  1. #
  2. # Makefile for Vim on Acorn Archimedes, using gcc and UnixLib
  3. #
  4.  
  5. MACHINE = -DARCHIE
  6.  
  7. ### gcc on the Arc.
  8. CC=gcc
  9.  
  10. ### Name of target
  11. TARGET = vim
  12.  
  13. # To keep the command line down, all the defs have gone into
  14. # the macro file "defs"
  15. DEFS = -include defs -O2
  16.  
  17. #>>>>> link with termlib or termcap only if TERMCAP is defined
  18. ### default
  19. LIBS =
  20.  
  21. #>>>>> end of choices
  22. ###########################################################################
  23.  
  24. CFLAGS = -c $(MACHINE) $(DEFS)
  25.  
  26. INCL = h.vim h.globals h.param h.keymap h.macros h.ascii h.term h.unix h.debug
  27.  
  28. OBJ =    o.alloc o.archie o.buffer o.charset o.cmdcmds o.cmdline o.csearch o.digraph \
  29.     o.edit o.fileio o.getchar o.help o.linefunc o.main o.mark o.memfile o.memline o.message o.misccmds \
  30.     o.normal o.ops o.param o.quickfix o.regexp o.regsub o.screen \
  31.     o.search o.tag o.term o.undo o.window
  32.  
  33. $(TARGET): $(OBJ) c.version
  34.     $(CC) $(CFLAGS) version.c
  35.     rename o.mkcmdtab tempfile
  36.     $(CC) -o $(TARGET) o.* $(LIBS)
  37.     rename tempfile o.mkcmdtab
  38.  
  39. ###########################################################################
  40.  
  41. o.alloc:    c.alloc  $(INCL)
  42.     $(CC) $(CFLAGS) alloc.c
  43.  
  44. o.archie:    c.archie  $(INCL) h.archie
  45.     $(CC) $(CFLAGS) archie.c
  46.  
  47. o.buffer:    c.buffer  $(INCL)
  48.     $(CC) $(CFLAGS) buffer.c
  49.  
  50. o.charset:    c.charset  $(INCL)
  51.     $(CC) $(CFLAGS) charset.c
  52.  
  53. o.cmdcmds:    c.cmdcmds  $(INCL)
  54.     $(CC) $(CFLAGS) cmdcmds.c
  55.  
  56. o.cmdline:    c.cmdline  $(INCL) h.cmdtab
  57.     $(CC) $(CFLAGS) cmdline.c
  58.  
  59. o.csearch:    c.csearch  $(INCL)
  60.     $(CC) $(CFLAGS) csearch.c
  61.  
  62. o.digraph:    c.digraph  $(INCL)
  63.     $(CC) $(CFLAGS) digraph.c
  64.  
  65. o.edit:    c.edit  $(INCL)
  66.     $(CC) $(CFLAGS) edit.c
  67.  
  68. o.fileio:    c.fileio  $(INCL)
  69.     $(CC) $(CFLAGS) fileio.c
  70.  
  71. o.getchar:    c.getchar  $(INCL)
  72.     $(CC) $(CFLAGS) getchar.c
  73.  
  74. o.help:    c.help  $(INCL)
  75.     $(CC) $(CFLAGS) help.c
  76.  
  77. o.linefunc:    c.linefunc  $(INCL)
  78.     $(CC) $(CFLAGS) linefunc.c
  79.  
  80. o.main:    c.main  $(INCL)
  81.     $(CC) $(CFLAGS) main.c
  82.  
  83. o.mark:    c.mark  $(INCL)
  84.     $(CC) $(CFLAGS) mark.c
  85.  
  86. o.memfile:    c.memfile  $(INCL)
  87.     $(CC) $(CFLAGS) memfile.c
  88.  
  89. o.memline:    c.memline  $(INCL)
  90.     $(CC) $(CFLAGS) memline.c
  91.  
  92. o.message:    c.message  $(INCL)
  93.     $(CC) $(CFLAGS) message.c
  94.  
  95. o.misccmds:    c.misccmds  $(INCL)
  96.     $(CC) $(CFLAGS) misccmds.c
  97.  
  98. o.normal:    c.normal  $(INCL) h.ops
  99.     $(CC) $(CFLAGS) normal.c
  100.  
  101. o.ops:    c.ops  $(INCL) h.ops
  102.     $(CC) $(CFLAGS) ops.c
  103.  
  104. o.param:    c.param  $(INCL)
  105.     $(CC) $(CFLAGS) param.c
  106.  
  107. o.quickfix:    c.quickfix  $(INCL)
  108.     $(CC) $(CFLAGS) quickfix.c
  109.  
  110. o.regexp:    c.regexp  $(INCL)
  111.     $(CC) $(CFLAGS) regexp.c
  112.  
  113. o.regsub:    c.regsub  $(INCL)
  114.     $(CC) $(CFLAGS) regsub.c
  115.  
  116. o.screen:    c.screen  $(INCL)
  117.     $(CC) $(CFLAGS) screen.c
  118.  
  119. o.search:    c.search  $(INCL)
  120.     $(CC) $(CFLAGS) search.c
  121.  
  122. o.tag:    c.tag  $(INCL)
  123.     $(CC) $(CFLAGS) tag.c
  124.  
  125. o.term:    c.term  $(INCL)
  126.     $(CC) $(CFLAGS) term.c
  127.  
  128. o.undo:    c.undo  $(INCL)
  129.     $(CC) $(CFLAGS) undo.c
  130.  
  131. o.window:    c.window  $(INCL)
  132.     $(CC) $(CFLAGS) window.c
  133.  
  134. h.cmdtab: cmdtab mkcmdtab
  135.     mkcmdtab cmdtab h.cmdtab
  136.  
  137. mkcmdtab: o.mkcmdtab
  138.     $(CC) -o mkcmdtab mkcmdtab.o
  139.